package org.hq.mapper;

import org.hq.pojo.GroupsVideo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

import static org.junit.jupiter.api.Assertions.*;
@SpringBootTest
class GroupsVideoMapperTest {
    @Autowired
    private GroupsVideoMapper groupsVideoMapper;
    @Test
    void selectByWebnameId() {
        List<GroupsVideo> groupsVideos = groupsVideoMapper.selectByWebnameId(1);
        for (GroupsVideo groupsVideo : groupsVideos) {
            System.out.println(groupsVideo.getName());
        }
    }
}